/**
 * @(#) IConsumeController.java
 */

package it.unibo.iss.domotica.consumptionControlling;

import java.util.Observer;

public interface IConsumptionController
{
	double getCurrentConsumption( );
	
	void updateConsumption();

	boolean canIPowerOnED(double consumption);
	
	boolean thresholdExceeded();
	
//	void attach(TotalConsumptionObserver o);
	
//	void detach(TotalConsumptionObserver o);
	
	void attach(Observer o);

	void detach(Observer o);
	
	void start();
	
	void stop();
}
